/*
 * ScopedLock.cpp
 *
 *  Created on: 14.12.2012
 *      Author: zheka
 */

#include "ScopedLock.hpp"

ScopedLock::ScopedLock(ILockable & lock):lock(lock) {
	lock.lock();

}

ScopedLock::~ScopedLock() {
	lock.unlock();
}

